package com.woniu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.entity.AlarmSetting;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.util.PageData;
import com.woniu.util.ResponseData;
import com.woniu.vo.AlaramSettingVo;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
* @author Apricity
* @description 针对表【alarm_setting(报警设置表)】的数据库操作Service
* @createDate 2025-02-13 20:16:58
*/
public interface AlarmSettingService extends IService<AlarmSetting> {

    Page pageQuery(PageData pageData);

    void saveSetting(Map map);

    AlarmSetting getId(Long id);



    void updateStatus(Integer status, Long id);

    void deleteSetting(List<Long> alarmIds);


    void updateSetting(Map<String, Object> param);

    ResponseData<?> outDepartmentExcelTemplate(HttpServletResponse response) throws IOException;
}
